Vue Syntax Highlight
💡 Sublime Text syntax highlighting for single-file Vue components
Details
Installs
- Total 521K
- Win 292K
- Mac 152K
- Linux 77K
Nov 22 | Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 16 | 23 | 9 | 13 | 21 | 12 | 16 | 13 | 0 | 0 | 26 | 19 | 11 | 17 | 21 | 22 | 32 | 22 | 19 | 7 | 13 | 11 | 17 | 27 | 18 | 26 | 14 | 9 | 21 | 26 | 30 | 26 | 19 | 15 | 11 | 13 | 23 | 29 | 24 | 21 | 4 | 13 | 22 | 30 | 21 | 18 |
Mac | 14 | 17 | 4 | 7 | 12 | 3 | 7 | 10 | 0 | 0 | 11 | 14 | 4 | 6 | 13 | 8 | 8 | 15 | 7 | 8 | 1 | 10 | 13 | 14 | 8 | 8 | 8 | 8 | 12 | 10 | 9 | 9 | 9 | 7 | 8 | 7 | 16 | 10 | 7 | 13 | 4 | 6 | 7 | 12 | 7 | 13 |
Linux | 7 | 3 | 1 | 0 | 9 | 5 | 7 | 8 | 0 | 0 | 3 | 6 | 2 | 3 | 5 | 7 | 10 | 6 | 12 | 3 | 4 | 6 | 6 | 7 | 4 | 16 | 11 | 2 | 4 | 8 | 10 | 10 | 12 | 3 | 1 | 4 | 7 | 4 | 5 | 10 | 8 | 4 | 2 | 9 | 9 | 7 |
Readme
Vue Syntax Highlight
Note: The master
branch hosts the tmLanguage
based implementation that is distributed to Sublime Text build < 3153. It is also used to power GitHub's syntax highlight of *.vue
files in linguist.
For a newer implementation of the syntax that is distributed to build >=3153, See the new branch.
Sublime Text Syntax highlighting for single-file Vue.js components (enabled by vue-loader or vueify).
Install
- Via Package Control: search for
Vue Syntax Highlight
. - Manual: clone this repo into your Sublime
Packages
folder.
Additional Installation Requirements: In order to get proper syntax highlighting for pre-processors (e.g. Jade, SASS, CoffeeScript) you will also need to install the corresponding packages for each of them.
Enabling JSX Highlighting
The <script>
block uses the syntax highlighting currently active for you normal .js
files. To support JSX highlighting inside Vue files, just set Babel javascript highlighting package, which supports JSX, as your default JS highlighting. Note you may need to explicitly disable Sublime's default JavaScript
package to make it work.